package com.project.controller;

import com.project.mapper.AdminMapper;
import com.project.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/climate")
public class TestController {
    @Autowired
    AdminMapper adminMapper;
    @RequestMapping("enquiry")
    Admin get(){


        Admin one=adminMapper.selectById(1);
        return one;
    }
}
